package com.ruoyi.cems.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 工作检查单明细对象 bms_work_checklists_detail
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
@Data
@ApiModel(description = "工作检查单明细对象")
public class BmsWorkChecklistsDetail extends BmsBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检查单ID */
    @Excel(name = "检查单ID")
    @ApiModelProperty("检查单ID")
    private String checkId;

    /** 场景 */
    @Excel(name = "场景")
    @ApiModelProperty("场景")
    private String view;

    /** 输入 */
    @Excel(name = "输入")
    @ApiModelProperty("输入")
    private String input;

    /** 响应阶段 */
    @Excel(name = "响应阶段")
    @ApiModelProperty("响应阶段")
    private String responseStage;

    /** 输出 */
    @Excel(name = "输出")
    @ApiModelProperty("输出")
    private String output;

    /** 完成情况 */
    @Excel(name = "完成情况")
    @ApiModelProperty("完成情况")
    private String completion;

    /** 填报人 */
    @Excel(name = "填报人")
    @ApiModelProperty("填报人")
    private String fillPeople;

    /** 填报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("填报时间")
    @Excel(name = "填报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date fileTime;

    private Integer num;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("REVISION", getREVISION())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("checkId", getCheckId())
            .append("view", getView())
            .append("input", getInput())
            .append("responseStage", getResponseStage())
            .append("output", getOutput())
            .append("completion", getCompletion())
            .append("fillPeople", getFillPeople())
            .append("fileTime", getFileTime())
            .toString();
    }
}
